home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11661 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: ra.nrl.navy.mil!usenet
  2. From: pitre@n5160d.nrl.navy.mil (Richard Pitre)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: works in Borland but not in Microsuck Visual C++
  5. Date: 15 Mar 1996 16:01:30 GMT
  6. Organization: Naval Research Laboratory
  7. Message-ID: <4ic48q$51k@ra.nrl.navy.mil>
  8. References: <4ibuke$hui@ralph.vnet.net>
  9. NNTP-Posting-Host: n5160d.nrl.navy.mil
  10.  
  11. In article <4ibuke$hui@ralph.vnet.net> mauricej@vnet.net (Maurice Jeter)  
  12. writes:
  13. > In article <4ia6h8$jes@news.vanderbilt.edu>, 
  14. > haseltbt@ctrvax.vanderbilt.edu says...
  15. > >                The following program was written in completely standard 
  16. > C++ 
  17. > >and should be portable across platforms.  However, it only performs as 
  18. > >expected (i.e. sends two copies of 4 to the standard out stream) in 
  19. > Borland 
  20. > >C++; when compiled in MicroSUCK Visual C++, it outputs 4 followed by a 
  21. > random 
  22. > >integer in the thousands.
  23. > Check out the Visual C KB for any issues regarding this; Jump over to 
  24. > Microsoft's Home Page and go to the Support page (I don't remember what 
  25. > its called).  
  26. > I moved from BC to VC 4; a lot of my code would not compile due to 
  27. > different function names and parameters, and very strict type checking, 
  28. > but once I got everything modified I was very please with it.  
  29. > Unfortunately it doesn't seem to catch as many potential errors that BC 
  30. > can
  31.  
  32. get this
  33.  
  34. > (such as "code has no effect").
  35.  
  36. thats because some people, who shall remain nameless, need this "feature".
  37.  
  38. > ---
  39. > Maurice Jeter (maurice@msn.com)
  40. > CIS: 72622,3606    MSN: Maurice
  41. > http://www.vnet.net/users/maurice
  42.